<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>
玻璃拟态
</title>
<style>
  .demo{
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('glass-background.jpg')
  }
  
  .text{
    font-size:80px;
    font-weight:bold;
    background: linear-gradient(to right, #ffcc70, #a5d041, #b31313);
    color: transparent;
    -webkit-background-clip: text;}
  
  .card {
    position: absolute;
    width:600px;
    height: 350px;
    border-radius:20px;
    background: linear-gradient(to right bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    backdrop-filter: blur(6px);
    box-shadow: 10px 10px 20px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.8);
    border-left: 1px solid rgba(255,255,255,0.8);
  }
  
  .card-bottom {
    position: absolute;
    width: 600px;
    height: 150px;
    background: linear-gradient(to right bottom, rgba(150,255,50,0.2), rgba(50,50,255,0.05));
    backdrop-filter: blur(8px);
    box-shadow: 10px 10px 20px rgba(0,0,0,0.2);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: absolute;
    top: 200px;
  }
  
  .greety {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size:20px;
    font-weight: bold;
    position: absolute;
    left: 100px;
    top: 250px;
    color: pink;
    opacity: 0.3;
  }
  
  .trapezoid{ 
    transform: rotate(45deg) translate(329px,-262px);
    border-bottom: 40px solid green;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    width: 150px;
    opacity: 0.2;
    backdrop-filter: blur(8px);
  }
</style>
</head>
<body>
<div class='demo'>
<div class='text'>
  I always believe that those years slip away quietly from my fingers, although they have changed our appearance, but it has enriched our life.
</div>
<div class='card'>
<span class='greety'>你若安好便是晴天</span>
<div class='trapezoid'></div>
<div class='card-bottom'></div>
</div>
</div>
</body>
</html>
